package log

import (
	"log"
	"os"
)

func GetLogger(prefix string) (*log.Logger, *log.Logger) {
	logErr := log.New(os.Stderr, "["+prefix+"-error]", log.Ldate|log.Lmicroseconds|log.Lshortfile)
	logInfo := log.New(os.Stdout, "["+prefix+"-info]", log.Ldate|log.Lmicroseconds|log.Lshortfile)
	return logErr, logInfo
}
